import { http } from "@/utils";

export function getArticle(params) {
    return http({
        url:'/mp/articles',
        params,
        method:'get'
    })
}

export function delArticle(id) {
    return http({
        url: `/mp/articles/${id}`,
        method:'get'
    })
}